const express=require('express')
const shoppingRouter=require('./shopping')
const prodoctRouter=require('./prodoct')
const userRouter=require('./user')
const orderRouter=require('./order')
const app=express()
app.listen(3000)
app.use('/shopping',shoppingRouter)
app.use('/user',userRouter)
app.use('/prodct',prodoctRouter)
app.use('./order',orderRouter)

//使用了中间件将post传参转对象 
